Adding or deleting segments, loops, and elements
Build the structure of an EDI profile by adding child loops, segments, and data elements on the Data Elements tab. You can also delete them.
Prerequisites
Steps
-
Select the Data Elements tab.
-
Click the arrow next to the Header, Summary, or Detail loop where you want to add segments or loops.
-
Select Add Child Segment or Add Child Loop.
The new segment or loop appears in the tree.
To add several at once, select Add Multiple Child Segments or Add Multiple Child Loops instead. In the How Many dialog, enter the number and click OK.
-
Choose what to add to the new item:
- Segment: add one or more child data elements, insert segments, delete the segment, or add an instance identifier.
- Loop: add child segments or child loops, insert loops, delete the loop, or add an instance identifier.
- Data element: add data elements, delete the data element, or expand it if it is a composite or sub-composite.
- Instance identifier: edit or delete it. [LINK: Add an instance identifier]
-
When you add a data element that is a composite, enter its Data Name as the element name, a period, and the composite number. For example,
PV107.1.- If the composite is the element's first composite (the suffix is
.1), set Composite to Composite Start. - Otherwise, set Composite to Composite.
- If the composite is the element's first composite (the suffix is
-
When you add a sub-composite, enter its Data Name as the element name, a period, the composite number, another period, and the sub-composite number. For example,
PV107.9.1.- If it is the element's first sub-composite and also its first composite, set Composite to Sub-Composite Start (Data Element).
- If it is the first sub-composite of a composite but not the element's first composite, set Composite to Sub-Composite Start.
- Otherwise, set Composite to Sub-Composite.
-
Click Save.
Result
The new segments, loops, and data elements appear in the tree under the item you selected. Deleted items are removed from the tree. The profile keeps the changes after you click Save.